package com.xca.daggerdemo.component;

import com.xca.daggerdemo.module.DBModule;
import com.xca.daggerdemo.module.StudentModule;
import com.xca.daggerdemo.views.InfoActivity;
import com.xca.daggerdemo.views.MainActivity;

import dagger.Component;
import jakarta.inject.Singleton;

@Singleton
@Component(modules = {StudentModule.class, DBModule.class})
public interface AllComponent {
    void injectMainActivity(MainActivity mainActivity);
    void injectInfoActivity(InfoActivity infoActivity);
}
